import {authRequest} from "@/request";

export  const postLogin = (body:any)=>{
    return authRequest.post("/index/login",body)
}
//获取接口
export const getInfo = ()=>{
    return authRequest.get("/index/info")
}

//退出接口
export const postLogout = ()=>{
    return authRequest.post("/index/logout")
}

